package com.main.login.interfaces.dto;

import com.main.common.base.base.dto.BaseAddDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.UUID;

@Schema(name = "AddAccountDTO", title = "添加账号数据", description = "添加账号数据")
@EqualsAndHashCode(callSuper = true)
@Data
public class AddAccountDTO extends BaseAddDTO {

    @Schema(name="number", title = "账号")
    @NotBlank(message = "{Number.NotBlank}")
    private String number;

    @Schema(name="password", title = "密码")
    @NotBlank(message = "{Password.NotBlank}")
    private String password;

    @Schema(name="userId", title = "用户Id")
    private UUID userId;
}
